package team.seekers.skill.entity.vo.admin.update;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AdminSectionUpdateVO {

    private String id;

    @NotBlank(message = "节的标题不能为空")
    private String title;

    @NotNull(message = "节的次序不能为空")
    private Integer sequence;

    private List<AdminBlogUpdateVO> adminBlogUpdateVOList;

    private List<AdminVideoUpdateVO> adminVideoUpdateVOList;

}
